#import <Foundation/Foundation.h>
#import <UIKit/UIView.h>
@interface CUIControlBase : UIView 
{
	
@protected
	NSString *iId;
	int iHeight;
	int iWidthPt;
	int iTop;
	int iTopPt;
	int iLeftPt;
	int iFontSize;
	int iFontWeight;
	int iFontColor;
	int iFocusFontColor;
	int iBackColor;
	int iBackColorAlpha;
	int iFocusBackColor;
	int iBorderColor;
	int iFocusBorderColor;
	int iHorizontal;
	int iVertical;
	NSString *iBackImg;
	int iVisible;
	NSString *iBusiType;
	NSString *iType;
	NSMutableString *iText;
	NSMutableString *iValue;
	int iFatherWidth;
	int iFatherHeight;
	bool iRequired;
	NSString* iPrompt;
	bool iCanSubmit;
	int iAbsoluteY;
	NSMutableDictionary* iRegex;
	id iOwnerControler;
}

@property(nonatomic,retain) NSString *iId;
@property(nonatomic) int iHeight;
@property(nonatomic) int iWidthPt;
@property(nonatomic) int iTop;
@property(nonatomic) int iTopPt;
@property(nonatomic) int iLeftPt;
@property(nonatomic) int iFontSize;
@property(nonatomic) int iFontWeight;
@property(nonatomic) int iFontColor;
@property(nonatomic) int iFocusFontColor;
@property(nonatomic) int iBackColor;
@property(nonatomic) int iBackColorAlpha;
@property(nonatomic) int iFocusBackColor;
@property(nonatomic) int iBorderColor;
@property(nonatomic) int iFocusBorderColor;
@property(nonatomic) int iHorizontal;
@property(nonatomic) int iVertical;
@property(nonatomic,retain) NSString *iBackImg;
@property(nonatomic) int iVisible;
@property(nonatomic,retain) NSString *iBusiType;
@property(nonatomic,retain) NSString *iType;
@property(nonatomic,retain,getter=getText) NSMutableString *iText;
@property(nonatomic,retain,getter=getValue) NSMutableString *iValue;
@property(nonatomic) int iFatherWidth;
@property(nonatomic) int iFatherHeight;
@property(nonatomic) bool iRequired;
@property(nonatomic,retain) NSString *iPrompt;
@property(nonatomic) bool iCanSubmit;
@property(nonatomic) int iAbsoluteY;
@property(nonatomic,retain) NSMutableDictionary* iRegex;
@property(nonatomic, assign) id iOwnerControler;

- (void)CaculateSize;
- (void)CustomInit;

- (void) setText:(NSString *)aText;
- (NSMutableString*) getText;
- (void) setValue:(NSString *)aValue;
- (NSMutableString*) getValue;

- (void) setSelDialogReturnValue:(NSArray*) aReturnValue;

@end
